package org.yuanqiframework.yuanqi.boot.sys.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import org.yuanqiframework.yuanqi.boot.sys.entity.SysRole;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @TableName sys_url
 */
@Data
public class SysUrlVO implements Serializable {
    /**
     *
     */
    private String id;

    /**
     *
     */
    private String httpMethod;

    /**
     *
     */
    private String httpUrl;

    /**
     *
     */
    private String className;

    /**
     *
     */
    private String method;
    /**
     * 是否在白名单内 y/n
     */
    private String inWhitelist;
    /**
     * 是否未登录可以访问 y/n
     */
    private String allowAnonymous;

    /**
     *
     */
    private Date createdAt;

    /**
     *
     */
    private List<SysRole> sysRoles;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}